Path Splitting: A Technique for Improving Data-Flow Analysis
نویسندگان
چکیده
The eeectiveness of traditional global optimizations is limited by the quality of data-ow information available to the compiler. The rich control structure of many programs hinders global optimizations by polluting data-ow information and forcing the compiler to make worst-case assumptions during data-ow analysis. Path splitting is a new technique for improving the amount of data-ow information statically available to the compiler. It replicates code in order to provide optimal reaching deenitions information within given regions of the control-ow graph. This improved information is used to extend the applicability of various classical code optimizations, including copy propagation, common subexpression elimination, dead code elimination, and code hoisting. An experimental implementation of path splitting in the SUIF C compiler indicates that path splitting eeectively restructures loops, reducing the cycle count within them by up to a factor of two, and resulting in over 7% run time performance improvements for C programs. Although path splitting can cause exponential growth in code size, applying it selectively limits code growth to below 5% for realistic C programs, and does not noticeably degrade cache performance.
منابع مشابه
A Modified Flux Vector Splitting Scheme for Flow Analysis in Shock Wave Laminar Boundary Layer Interactions
The present work introduces a modified scheme for the solution of compressible 2-D full Navier-Stokes equations, using Flux Vector Splitting method. As a result of this modification, numerical diffusion is reduced. The computer code which is developed based on this algorithm can be used easily and accurately to analyze complex flow fields with discontinuity in properties, in cases such as shock...
متن کاملA Modified Flux Vector Splitting Scheme for Flow Analysis in Shock Wave Laminar Boundary Layer Interactions
The present work introduces a modified scheme for the solution of compressible 2-D full Navier-Stokes equations, using Flux Vector Splitting method. As a result of this modification, numerical diffusion is reduced. The computer code which is developed based on this algorithm can be used easily and accurately to analyze complex flow fields with discontinuity in properties, in cases such as shock...
متن کاملNumerical Investigation on Compressible Flow Characteristics in Axial Compressors Using a Multi Block Finite Volume Scheme
An unsteady two-dimensional numerical investigation was performed on the viscous flow passing through a multi-blade cascade. A Cartesian finite-volume approach was employed and it was linked to Van-Leer's and Roe's flux splitting schemes to evaluate inviscid flux terms. To prevent the oscillatory behavior of numerical results and to increase the accuracy, Monotonic Upstream Scheme for Conservat...
متن کاملThree-Phase Modeling of Dynamic Kill in Gas-Condensate Well Using Advection Upstream Splitting Method Hybrid Scheme
Understanding and modeling of three-phase transient flow in gas-condensate wells play a vital role in designing and optimizing dynamic kill procedure of each well that needs to capture the discontinuities in density, geometry, and velocity of phases but also the effect of temperature on such parameters. In this study, two-phase Advection-Upstream-Splitting-Method (AUSMV) hybrid scheme is extend...
متن کاملThe numerical simulation of compressible flow in a Shubin nozzle using schemes of Bean-Warming and flux vector splitting
Over the last ten years, robustness of schemes has raised an increasing interest among the CFD community. The objective of this article is to solve the quasi-one-dimensional compressible flow inside a “Shubin nozzle” and to investigate Bean-Warming and flux vector splitting methods for numerical solution of compressible flows. Two different conditions have been considered: first, there is a sup...
متن کامل